<!-- right-text="注册" -->
<template>
  <div>
    <van-nav-bar title="登录" left-text="返回"  left-arrow @click-left="back()" @click-right='back1'></van-nav-bar>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    back() {
      this.$router.go(-1);
    },
    back1(){
   
      this.$router.push('/register')
    }
  }
};
</script>
<style lang='scss' scoped>
.van-nav-bar {
  background-color:  #1989fa;
}
.van-nav-bar__title {
  color: #fff;
}
.van-nav-bar__text {
  color: #fff;
}
.van-nav-bar .van-icon {
  color: #fff;
}
</style>